package com.cskaoyan.mapper;

import com.cskaoyan.bean.Account;
import org.apache.ibatis.annotations.Param;

/**
 * 创建日期: 2022/09/01 16:36
 *
 * @author ciggar
 */
public interface AccountMapper {

    Account selectAccountById(@Param("id") Integer id);


    Account selectAccountByIdUseResultMap(@Param("aid") Integer id);


    int insertAccount(@Param("id") Integer id, @Param("name") String name, @Param("age") Integer age, @Param("gender") String gender);


    Account selectAccountByName(@Param("name") String name);

}
